<template>
  <cs-container :is-back-to-top="true">
    <page-main
      :tree-data="tree"
      @refresh="handleRefresh"
      ref="main"/>
  </cs-container>
</template>

<script>
// import util from '@/utils/util'

export default {
  name: 'system-auth-menu',
  components: {
    'PageMain': () => import('./components/PageMain')
  },
  data() {
    return {
      tree: []
    }
  },
  mounted() {
    this.handleSubmit()
  },
  methods: {
    // 重新载入页面
    handleRefresh() {
      this.$nextTick(() => {
        this.$refs.header.handleFormSubmit()
      })
    },
    // 提交查询请求
    handleSubmit(form) {
    }
  }
}
</script>
